<template>
  <div>
    <!-- 商品列表tab分类开始 -->
    <tab active-color="#fc378c">
      <tab-item :selected="demo1 === '厂家直销'" @click="demo1 = '厂家直销'">出售</tab-item>
      <tab-item :selected="demo1 === '精品推荐'" @click="demo1 = '精品推荐'">收购</tab-item>
    </tab>
    <!-- 商品列表tab分类结束 -->
  </div>
</template>
<style lang="less">
.vux-tab {
  position: fixed;
  top: 0px;
  left: 0px;
  right: 0px;
  z-index: 11;
}
</style>
<script>
  import {Tab, TabItem} from 'vux';
  export default{
    data () {
      return {}
    },
    components: {
      Tab,
      TabItem,
    },
  };
</script>

